DomainObjects Class Library

Query<ClassToFind> Methods

The methods of the Query<ClassToFind> class are listed below. For a complete list of Query<ClassToFind> class members, see the Query<ClassToFind> Members topic.

Public Instance Methods

Accept (inherited from Query) Accepts the specified visitor.
AddPrefetch (inherited from Query) Specifies how deep in the object graph this query will retrieve objects related to the target class. Multiple prefetches may be added to a single query. By retrieving all objects specified by relatedClassToPrefetch via a single SELECT statement to the database, prefetching avoids lazy loads of related objects and thus improves performance.
AddSelectField (inherited from Query) Adds a field whose value will be returned by a DataSet. Only add select fields if you are retrieving values in a DataSet via a call to FindDataSet.
AddSelectFields (inherited from Query) Adds to the set of fields whose values will be returned by a DataSet. Only add select fields if you are retrieving values in a DataSet via a call to FindDataSet.
AddUnion Unions the given query with this query using the 'UNION' SQL clause.
AddUnionAll Unions the given query with this query using the 'UNION ALL' SQL clause.
BuildObjectGraphQuery (inherited from Query) 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exists Determines if any rows exist that match this query's search criteria.
FindDataRowsOverloaded. Retrieve an enumerable collection of DataRows filled with values returned by this query. Because the result set implements IEnumerable`1, Language-Integrated Query (LINQ) queries can be executed against it.
FindDataSetOverloaded. Retrieve a DataSet filled with values returned by this query.
FindObject Retrieve the persistable object that matches this query's search criteria.
FindObjectSet Retrieve the list of persistable objects of the given type that match the assigned criteria.
GetClassesToRetrieve (inherited from Query) Builds the complete set of Classes being retrieved by this query.
GetDataSetCount Returns the total number of rows that would be retrieved if FindDataSet were executed against this query.
GetFullTableName (inherited from Query) Get the fully qualified name of the table to which this object maps.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions (inherited from Query) Gets the child object model expressions that are directly contained by this expression.
GetInsertableFields (inherited from Query) Get the set of insertable Fields to which this object, and any of its sub-types, maps. This is the set of ColumnFields that are populated by the middle tier when a row is inserted into the database.
GetNaturalIdentifier (inherited from Query) Get a string that identifies this object to a person familiar with the object model. Used when an instance of this field is part of a logging or assertion statement.
GetObjectSetCount Returns the total number of objects that would be retrieved if FindObjectSet were executed against this query.
GetRootTableMappedObject (inherited from Query) Returns the root table mapped object in this query path; i.e., the starting point of this join path.
GetSelectableFields (inherited from Query) Get the set of selectable Fields to which this object, and any of its sub-types, maps.
GetType (inherited from Object)Gets the Type of the current instance.
GetUpdatableFields (inherited from Query) Get the set of updatable ColumnFields to which this object, and any of its sub-types, maps. This list would exclude, for example, any primary key columns.
HasAnyComputedPrimaryKeyColumns (inherited from Query) Determines whether this table mapped object has any computed primary key columns.
IsCount (inherited from Query) Determines whether this instance represents a SQL COUNT statement.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

Query<ClassToFind> Class | DomainObjects.Facade.Command Namespace